#include<stdio.h>
#include<errno.h>
#include<unistd.h>

#define N 200

int main()
{
    int res = 0;
    if((res = remove("file2.txt"))== -1)
    {
        perror("fail to read");
        return -1;
    }
    printf("remove done\n");
    return 0;
}